[INFO] fetching crate fuzzy_match 0.2.1...
[INFO] fixing fuzzy_match-0.2.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate fuzzy_match 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate fuzzy_match 0.2.1
[INFO] finished tweaking crates.io crate fuzzy_match 0.2.1
[INFO] tweaked toml for crates.io crate fuzzy_match 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fuzzy_match 0.2.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 3 packages to latest compatible versions
[INFO] [stderr]       Adding rustc_version v0.1.7 (available: v0.4.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `fuzzy_match` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef
[INFO] running `Command { std: "docker" "start" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `fuzzy_match` (manifest) generated 1 warning
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking sliding_windows v3.0.1
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling fuzzy_match v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2015 edition to 2018
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/algorithms.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.32s
[INFO] [stderr] crater-edition-check: fuzzy_match v0.2.1 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]    Compiling fuzzy_match v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/algorithms.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Levenshtein(bool);
[INFO] [stdout]    |            ----------- ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `test::Bencher`
[INFO] [stdout]    --> src/algorithms.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         use test::Bencher;
[INFO] [stdout]     |             ^^^^^^-------
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   no `Bencher` in `algorithms::test`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 214 |         use ::test::Bencher;
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `test` is ambiguous
[INFO] [stdout]    --> src/algorithms.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         use test::Bencher;
[INFO] [stdout]     |             ^^^^ ambiguous name
[INFO] [stdout]     |
[INFO] [stdout]     = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
[INFO] [stdout] note: `test` could refer to the module imported here
[INFO] [stdout]    --> src/algorithms.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         use super::super::*;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: consider adding an explicit import of `test` to disambiguate
[INFO] [stdout]     = help: or use `self::test` to refer to this module unambiguously
[INFO] [stdout] note: `test` could also refer to the crate imported here
[INFO] [stdout]    --> src/lib.rs:10:40
[INFO] [stdout]     |
[INFO] [stdout]  10 | #[cfg(all(feature = "nightly", test))] extern crate test;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: use `::test` to refer to this crate unambiguously
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/algorithms.rs:233:30
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 .map(|it| it.trim_right_matches("\n").trim_right_matches("\r"))
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 233 -                 .map(|it| it.trim_right_matches("\n").trim_right_matches("\r"))
[INFO] [stdout] 233 +                 .map(|it| it.trim_end_matches("\n").trim_right_matches("\r"))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/algorithms.rs:233:55
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 .map(|it| it.trim_right_matches("\n").trim_right_matches("\r"))
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 233 -                 .map(|it| it.trim_right_matches("\n").trim_right_matches("\r"))
[INFO] [stdout] 233 +                 .map(|it| it.trim_right_matches("\n").trim_end_matches("\r"))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0659.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fuzzy_match` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef", kill_on_drop: false }`
[INFO] [stdout] 775994a6bc9f0796b6018a6bdb6c01805b79a0a13e8514d7c9266d1982a4a2ef
